<?php

class Admin_IndexController extends Zend_Controller_Action
{
    protected $_companyMapper;

    public function init()
    {
        $this->_companyMapper = new Application_Model_CompanyMapper();
    }

    public function indexAction()
    {
        //$limits[] = 0;
        //$limits[] = 2;
        //$filter = array('category' => '3', 'limit' => $limits);
        
        $this->view->companies = $res = $this->_companyMapper->fetchMany();
        //var_dump($res);

    }


}

